//
//  DiarySectionOCTableViewCell.h
//  MoodDiary
//
//  Created by MoodDiary on 2020/12/4.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol DiarySectionOCTableViewCellDelegate <NSObject>

- (void)diarySectionOCTableViewCellSelectPart:(NSInteger)currentPart andSection:(NSInteger)currentSection andRow:(NSInteger)currentRow andDeletedDiaryStamp:(NSString *)timeStampStr;

@optional
- (void)checkDetailDiaryWithData:(NSDictionary *)dict index:(NSInteger)editIndex;

@end

@interface DiarySectionOCTableViewCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UIView *daysView;
@property (weak, nonatomic) IBOutlet UILabel *label;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bgViewTop;

@property (nonatomic, strong) NSArray <NSDictionary *> *dayArray;

@property (nonatomic, strong) NSDictionary *daysDic;

@property (nonatomic,   copy) NSString *compareDayStr;

@property (nonatomic, assign) NSInteger currentPart;
@property (nonatomic, assign) NSInteger currentSection;

@property (nonatomic, weak) id <DiarySectionOCTableViewCellDelegate> delegate;

@end

NS_ASSUME_NONNULL_END
